<script>
	export default {
		name: 'login-qq',
		mounted() {
			var code = this.$route.query.code;
			var redirect = this.$route.query.redirect;
			console.debug("QQ登录回調", code, redirect);
			this.$api.auth.loginByQQ({
				code: code,
				redirect: redirect
			});
		}
	}
</script>
